home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mlib34d.zoo
/
diffh
< prev
next >
Wrap
Text File
|
1993-07-09
|
23KB
|
771 lines
diff -cr /src/mntinc33/PatchLev.h ./PatchLev.h
*** /src/mntinc33/PatchLev.h Thu Jun 17 09:25:26 1993
--- ./PatchLev.h Tue Jul 6 07:50:58 1993
***************
*** 3,6 ****
* directory.
*/
! #define _PatchLevel "33"
--- 3,6 ----
* directory.
*/
! #define _PatchLevel "34"
diff -cr /src/mntinc33/compiler.h ./compiler.h
*** /src/mntinc33/compiler.h Tue Jun 22 03:15:04 1993
--- ./compiler.h Tue Jul 6 11:34:06 1993
***************
*** 200,203 ****
--- 200,206 ----
#define _PID_T int
#endif
+ /* used in limits.h, stdio.h */
+ #define _NFILE (32) /* maximum number of open streams */
+
#endif /* _COMPILER_H */
diff -cr /src/mntinc33/ctype.h ./ctype.h
*** /src/mntinc33/ctype.h Tue Jun 15 15:02:56 1993
--- ./ctype.h Tue Jul 6 10:47:38 1993
***************
*** 25,31 ****
--- 25,33 ----
#define isalnum(c) (_ctype[(unsigned char)(c)]&(_CTu|_CTl|_CTd))
#define isalpha(c) (_ctype[(unsigned char)(c)]&(_CTu|_CTl))
+ #ifndef _POSIX_SOURCE
#define isascii(c) !((c)&~0x7F)
+ #endif /* _POSIX_SOURCE */
#define iscntrl(c) (_ctype[(unsigned char)(c)]&_CTc)
#define isdigit(c) (_ctype[(unsigned char)(c)]&_CTd)
#define isgraph(c) (!(_ctype[(unsigned char)(c)]&(_CTc|_CTs)) && (_ctype[(unsigned char)(c)]))
diff -cr /src/mntinc33/dirent.h ./dirent.h
*** /src/mntinc33/dirent.h Mon Dec 7 12:53:08 1992
--- ./dirent.h Tue Jul 6 10:53:00 1993
***************
*** 71,77 ****
#endif /* __MINT__ */
! #define DIRENTSIZ(x) (sizeof(struct dirent) + (x) + 1)
/* allow BSD emulation via sys/dir.h */
--- 71,77 ----
#endif /* __MINT__ */
! #define __DIRENTSIZ(x) (sizeof(struct dirent) + (x) + 1)
/* allow BSD emulation via sys/dir.h */
***************
*** 80,86 ****
#define d_fileno d_ino
#define d_namlen d_reclen
! #define DIRSIZ(dp) DIRENTSIZ((dp)->d_namlen)
#define MAXNAMLEN _LIB_NAME_MAX
#endif
--- 80,86 ----
#define d_fileno d_ino
#define d_namlen d_reclen
! #define DIRSIZ(dp) __DIRENTSIZ((dp)->d_namlen)
#define MAXNAMLEN _LIB_NAME_MAX
#endif
***************
*** 87,94 ****
--- 87,96 ----
__EXTERN DIR * opendir __PROTO((const char *dirname));
__EXTERN struct dirent *readdir __PROTO((DIR *dirp));
+ #ifndef _POSIX_SOURCE
__EXTERN off_t telldir __PROTO((DIR *dirp));
__EXTERN void seekdir __PROTO((DIR *dirp, off_t loc));
+ #endif /* _POSIX_SOURCE */
__EXTERN void rewinddir __PROTO((DIR *dirp));
__EXTERN int closedir __PROTO((DIR *dirp));
diff -cr /src/mntinc33/errno.h ./errno.h
*** /src/mntinc33/errno.h Sun Jun 6 10:07:16 1993
--- ./errno.h Tue Jul 6 09:30:14 1993
***************
*** 61,66 ****
--- 61,68 ----
#define ENMFILES 49 /* no more files (fsnext) */
#define ENMFIL 49 /* no more files (from fsnext) */
+ #define ELOCKED 58 /* locking conflict */
+
#define EBADARG 64 /* range error/context unknown */
#define EINTERNAL 65 /* internal error */
#define EINTRN EINTERNAL /* " " */
diff -cr /src/mntinc33/fcntl.h ./fcntl.h
*** /src/mntinc33/fcntl.h Thu Jun 10 06:32:22 1993
--- ./fcntl.h Tue Jul 6 10:06:12 1993
***************
*** 62,67 ****
--- 62,68 ----
#ifdef __MINT__
#define F_GETLK 5 /* Get file lock */
#define F_SETLK 6 /* Set file lock */
+ #define F_SETLKW 7 /* Get lock, wait if busy */
struct flock {
short l_type;
***************
*** 89,95 ****
#define __SMALLEST_VALID_HANDLE (0)
#endif
! __EXTERN int fcntl __PROTO((int f, int cmd, ...));
#ifdef __cplusplus
}
--- 90,98 ----
#define __SMALLEST_VALID_HANDLE (0)
#endif
! __EXTERN int creat __PROTO((const char *, unsigned));
! __EXTERN int fcntl __PROTO((int f, int cmd, ...));
! __EXTERN int open __PROTO((const char *, int, ...));
#ifdef __cplusplus
}
Only in /src/mntinc33: gnu
diff -cr /src/mntinc33/grp.h ./grp.h
*** /src/mntinc33/grp.h Sun May 16 07:28:36 1993
--- ./grp.h Wed Jul 7 07:41:46 1993
***************
*** 5,17 ****
#include <compiler.h>
#endif
! #ifndef _TYPES_H
! #include <types.h>
! #endif
!
#ifndef _STDIO_H
#include <stdio.h>
#endif
#ifdef __cplusplus
extern "C" {
--- 5,15 ----
#include <compiler.h>
#endif
! #ifndef _POSIX_SOURCE
#ifndef _STDIO_H
#include <stdio.h>
#endif
+ #endif /* _POSIX_SOURCE */
#ifdef __cplusplus
extern "C" {
***************
*** 20,39 ****
struct group
{
char *gr_name; /* The name of the group */
! char *gr_passwd; /* The encrypted group password */
! gid_t gr_gid; /* The numerical group ID */
char **gr_mem; /* array of member names */
};
__EXTERN void setgrent __PROTO((void));
__EXTERN void endgrent __PROTO((void));
__EXTERN struct group * getgrent __PROTO((void));
__EXTERN struct group * getgrgid __PROTO((int gid));
__EXTERN struct group * getgrnam __PROTO((const char *name));
-
- #ifndef _POSIX_SOURCE
- __EXTERN struct group * fgetgrent __PROTO((FILE *f));
- #endif
#ifdef __cplusplus
}
--- 18,38 ----
struct group
{
char *gr_name; /* The name of the group */
! _GID_T gr_gid; /* The numerical group ID */
char **gr_mem; /* array of member names */
+ char *__gr_passwd;/* The encrypted group password */
};
+ #ifndef _POSIX_SOURCE
+ #define gr_passwd __gr_passwd
__EXTERN void setgrent __PROTO((void));
__EXTERN void endgrent __PROTO((void));
__EXTERN struct group * getgrent __PROTO((void));
+ __EXTERN struct group * fgetgrent __PROTO((FILE *f));
+ #endif /* _POSIX_SOURCE */
+
__EXTERN struct group * getgrgid __PROTO((int gid));
__EXTERN struct group * getgrnam __PROTO((const char *name));
#ifdef __cplusplus
}
diff -cr /src/mntinc33/limits.h ./limits.h
*** /src/mntinc33/limits.h Sat Feb 13 05:06:32 1993
--- ./limits.h Tue Jul 6 11:39:58 1993
***************
*** 50,56 ****
#endif /* __MSHORT__ */
! #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
/* Minimum and maximum values a `signed long long int' can hold. */
#define LONG_LONG_MAX 9223372036854775807LL
#define LONG_LONG_MIN (-LONG_LONG_MAX-1)
--- 50,56 ----
#endif /* __MSHORT__ */
! #if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(_POSIX_SOURCE)
/* Minimum and maximum values a `signed long long int' can hold. */
#define LONG_LONG_MAX 9223372036854775807LL
#define LONG_LONG_MIN (-LONG_LONG_MAX-1)
***************
*** 58,64 ****
/* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */
#define ULONG_LONG_MAX 18446744073709551615ULL
! #endif /* __GNUC__ && !__STRICT_ANSI__ */
#define MB_LEN_MAX 1 /* max. number of bytes in a multibyte character */
--- 58,64 ----
/* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */
#define ULONG_LONG_MAX 18446744073709551615ULL
! #endif /* __GNUC__ && !__STRICT_ANSI__ && !_POSIX_SOURCE*/
#define MB_LEN_MAX 1 /* max. number of bytes in a multibyte character */
***************
*** 75,87 ****
#define _POSIX_MAX_CANON 64 /* <- NON-CONFORMING */
#define _POSIX_MAX_INPUT 64 /* <- NON-CONFORMING */
#define _POSIX_NAME_MAX 14
! #define _POSIX_NGROUPS_MAX 0
#define _POSIX_OPEN_MAX 16
#define _POSIX_PATH_MAX 128 /* <- NON-CONFORMING */
#define _POSIX_PIPE_BUF 512
#ifndef __STRICT_ANSI__
#define NGROUPS_MAX _POSIX_NGROUPS_MAX
#if 0
/* both of these are actually limited by available memory */
--- 75,91 ----
#define _POSIX_MAX_CANON 64 /* <- NON-CONFORMING */
#define _POSIX_MAX_INPUT 64 /* <- NON-CONFORMING */
#define _POSIX_NAME_MAX 14
! #define _POSIX_NGROUPS_MAX 512 /* <- arbitrary */
#define _POSIX_OPEN_MAX 16
#define _POSIX_PATH_MAX 128 /* <- NON-CONFORMING */
#define _POSIX_PIPE_BUF 512
+ #define _POSIX_STREAM_MAX _NFILE
#ifndef __STRICT_ANSI__
+ #ifndef STREAM_MAX
+ #define STREAM_MAX _NFILE
+ #endif
#define NGROUPS_MAX _POSIX_NGROUPS_MAX
#if 0
/* both of these are actually limited by available memory */
diff -cr /src/mntinc33/locale.h ./locale.h
*** /src/mntinc33/locale.h Fri May 15 20:15:20 1992
--- ./locale.h Tue Jul 6 11:17:20 1993
***************
*** 21,26 ****